package com.wbhz.entity;

import java.util.Date;

public class Collect {
	private int collectId;// int not null primary key AUTO_INCREMENT,
	private int collectPostId;// int not null,
	private int collectPostUserId;// int not null,
	private int collectUserId;// int not null,
	private Date collectCreateTime;// date
	public int getCollectId() {
		return collectId;
	}
	public void setCollectId(int collectId) {
		this.collectId = collectId;
	}
	public int getCollectPostId() {
		return collectPostId;
	}
	public void setCollectPostId(int collectPostId) {
		this.collectPostId = collectPostId;
	}
	public int getCollectPostUserId() {
		return collectPostUserId;
	}
	public void setCollectPostUserId(int collectPostUserId) {
		this.collectPostUserId = collectPostUserId;
	}
	public int getCollectUserId() {
		return collectUserId;
	}
	public void setCollectUserId(int collectUserId) {
		this.collectUserId = collectUserId;
	}
	public Date getCollectCreateTime() {
		return collectCreateTime;
	}
	public void setCollectCreateTime(Date collectCreateTime) {
		this.collectCreateTime = collectCreateTime;
	}
	@Override
	public String toString() {
		return "Collect [collectId=" + collectId + ", collectPostId=" + collectPostId + ", collectPostUserId="
				+ collectPostUserId + ", collectUserId=" + collectUserId + ", collectCreateTime=" + collectCreateTime
				+ "]";
	}
	public Collect(int collectId, int collectPostId, int collectPostUserId, int collectUserId, Date collectCreateTime) {
		super();
		this.collectId = collectId;
		this.collectPostId = collectPostId;
		this.collectPostUserId = collectPostUserId;
		this.collectUserId = collectUserId;
		this.collectCreateTime = collectCreateTime;
	}
	public Collect() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
